POV-Ray : Newsgroups : povray.binaries.images : Final version RandWall and RandStairs macros : Re: Final version RandWall and RandStairs macros Server Time
6 Nov 2024 22:13:38 EST (-0500)
  Re: Final version RandWall and RandStairs macros  
From: Bryan Valencia
Date: 17 Nov 2004 09:50:23
Message: <419b652f@news.povray.org>
Well, I haven't looked at your macro, but if you kept a list of where the 
seams are on the row below (as an array), you could use those numbers to 
'repel' seams on the current level.  Alternately, if it's easier, you can 
mark the centers of the stones on the row below and use that to 'attract' 
the seams on the current row.

An even better way would be to use a 2D array of numbers and just layout the 
seams in the array, making sure that the consecutive layers don't have seams 
at the same places.



"Thomas de Groot" <t.d### [at] internlnet> wrote in message 
news:419b0c78@news.povray.org...
>
> "Remy Closset" <rem### [at] tiscalifr> schreef in bericht
> news:4198d784@news.povray.org...
>> Hi Thomas,
>>
>> Just a little remark about the macro. A builder never lays stones with
>> continuous joins between two rows of masonry; as I show it on your
> drawing.
>>
>
> Have been thinking about the problem... But there I would need help!
> I just don't know how to solve this elegantly, and without making the 
> macro
> too slow.
> So, any smart idea is welcome!!
>
> Thomas
>
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.